#ifndef COLOR_H
#define COLOR_H


//describing pixel color
class Color
{
public:
	float r, g, b, a;
	Color(float cr, float cg, float cb, float ca);
	Color() {}; 
	~Color();

	Color operator + (const Color& right) const;
	Color operator+(const float c)
	{
		return Color(r + c, g + c, b + c, a);
	}
	Color operator - (const Color& right) const;
	Color operator * (const Color& right) const;
	Color operator * (float value) const;
	Color operator / (float value) const;
	static Color Lerp(const Color& left, const Color& right, float t);
	static Color white;
};













#endif // !COLOR_H

